home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / instal.zip / WSLIB / GAUGE.H < prev    next >
C/C++ Source or Header  |  1991-06-12  |  991b  |  28 lines

  1. /*----------------------------------------------------------------------------*\
  2. |   PROGRESS.H                                       |
  3. \*----------------------------------------------------------------------------*/
  4.  
  5. BOOL EXPORT ProDlgProc(HWND, unsigned, WORD, LONG);
  6. BOOL PUBLIC ProInit(HANDLE,HANDLE);
  7. void PUBLIC ProClear(HWND hDlg);
  8. HWND PUBLIC ProOpen(HWND,int);
  9. BOOL PUBLIC ProClose(void);
  10. BOOL PUBLIC ProSetBarRange(int);
  11. BOOL PUBLIC ProSetBarPos(int);
  12. BOOL PUBLIC ProDeltaPos(int);
  13. BOOL PUBLIC ProSetText (int,LPSTR);
  14. BOOL FAR cdecl ProPrintf (int,LPSTR,...);
  15.  
  16. #ifdef DEBUG
  17.         BOOL    __f;
  18.         extern  int FAR _Assert(PSTR,int);
  19.     extern  BOOL fDebug;
  20.         #define dprintf if (fDebug) WinPrintf
  21.         #define WinAssert(exp)  ((exp) ? 0 : _Assert(__FILE__,__LINE__))
  22.         #define WinEval(exp) (__f=(exp),WinAssert(__f),__f)
  23. #else
  24.         #define dprintf if (0) ((int (*)(char *, ...)) 0)
  25.         #define WinAssert(exp) 0
  26.         #define WinEval(exp) (exp)
  27. #endif
  28.